package com.hr.huangzhk.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * Created by showtimehzk on 2016/10/25.
 */
//@SpringBootApplication
public class AppConfig extends SpringBootServletInitializer {
  @Override
  protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
    return application.sources(AppConfig.class);
  }

  public static void main(String[] args) throws Exception {
    SpringApplication.run(AppConfig.class, args);
  }
}
